cmake_minimum_required(VERSION 2.8)
project(g2o-examples)

set(CMAKE_CXX_STANDARD 14)

list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake_module)

find_package(Ceres REQUIRED)
include_directories(${CERES_INCLUDE_DIRS})

find_package(G2O REQUIRED)
include_directories(${G2O_INCLUDE_DIRS})

find_package(Eigen3 REQUIRED NO_MODULE)

add_subdirectory(01-curve-fitting)
